package ComputingSystem;

public class AddTest extends MathTest{
    @Override
    public int calculator() {
        return getA()+getB();
    }

    @Override
    public String getQuestion() {
        return getA()+"+"+getB()+"=?";
    }

    public AddTest() {
    }

    public AddTest(int a, int b) {
        super(a, b);
    }
}
